package com.chenl.provider.DEMOS.多线程相关;

import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

@Service
public class AsyncMethodClazz {
    @Async("threadPoolTaskExecutor")
    public String clMethod(String name){
        System.out.println(name);
        System.out.println(1/0);
        return name;
    }
}
